package com.wzh.dao;

import com.wzh.pojo.Po.Questions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface Questiondao {
	@Select("select * from question")
	List<Questions> getall();
    @Select("select * from question where  Degree=#{Degree}")
	List<Questions> getsome(String Degree);

}
